<%--
  Created by IntelliJ IDEA.
  User: 31962
  Date: 2025/3/24
  Time: 14:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<html>
<head>
    <title>文件上传与下载</title>
</head>
<body>
<%--指定表单数据的enctype属性以及提交方式--%>
<form enctype="multipart/form-data" action="upload"  method="post">
    <%--指定标记的类型和文件域的名称--%>
    文件描述：<input type="text" name="description"><br /><br />

    请选择上传文件：<input type="file" name="myfile"/><br /><br />

    <input type="submit" value="上传"/><br />

</form>
<a href="download.jsp">查看可下载文件列表</a>
</body>
</html>
